using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Threading;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DataPopulation
{
    public partial class Splash : Form
    {
        public Splash()
        {
            InitializeComponent();
            Size = BackgroundImage.Size;
        }

        private void Splash_Load(object sender, EventArgs e)
        {
        }

        public void FadeForm()
        {
            while (Opacity > 0)
            {
                Opacity -= 0.05;
                Thread.Sleep(100);
                Application.DoEvents();
            }
        }
    }
 }